package com.mooc.tree.bak.BinTree;

/**
 * @Author zhang.xin
 * @Description: TODO(这里描述)
 * @Date 2019/12/23
 */
public class BinTreeNode {

    private char data;
    private BinTreeNode left;
    private BinTreeNode right;

    public BinTreeNode(char data) {
        this.data = data;
        this.left = null;
        this.right = null;
    }

    public char getData() {
        return data;
    }

    public void setData(char data) {
        this.data = data;
    }

    public BinTreeNode getLeft() {
        return left;
    }

    public void setLeft(BinTreeNode left) {
        this.left = left;
    }

    public BinTreeNode getRight() {
        return right;
    }

    public void setRight(BinTreeNode right) {
        this.right = right;
    }
}
